a682af
@@ -313,13 +313,13 @@
public class JPAAnnotationProcessor implements DeploymentUnitProcessor {
                     (stType == null || SynchronizationType.SYNCHRONIZED.name().equals(stType.asString()))?
                             SynchronizationType.SYNCHRONIZED: SynchronizationType.UNSYNCHRONIZED;
 
-            Map<AnnotationValue, AnnotationValue> properties;
+            Map<String, String> properties;
             AnnotationValue value = annotation.value("properties");
             AnnotationInstance[] props = value != null ? value.asNestedArray() : null;
             if (props != null) {
                 properties = new HashMap<>();
                 for (int source = 0; source < props.length; source++) {
-                    properties.put(props[source].value("name"), props[source].value("value"));
+                    properties.put(props[source].value("name").asString(), props[source].value("value").asString());
                 }
             } else {
                 properties = null;
